<!-- global config -->
<script>
TVB.Pdes.Config = {
    TXT: {
        PLEASE_INPUT_NAME: "Please input a name !",
        PLEASE_FILL_ALL_TEXTFIELD: 'Please fill all text filed !',
        PROGRAMME_NOT_FOUND: "The programme cannot be found.\n Please re-enter",
        SEARCH_FIELDS_CONFLICT: "\u641c\u7d22\u689d\u4ef6\u885d\u7a81\uff01",
        OFFLINE_DATE_GT_ONLINE_DATE: "'Offline Date Time' \u5fc5\u9808\u5728 'Online Date Time' \u4e4b\u5f8c\uff01",
        PLS_INPUT_TAG: "please input your tag !",
        EQUIVALENT_PROG_EXIST: "Equivalent Programme exist!",
		EQUIVALENT_PROG_DATE_EXIST:"Duplicate effective date is selected. Please choose another date",
        SAVE_EXIST_DATA: "Saving existing data ?",
        CONFIRM_DO_RECORD: "Confirm {do} record ?",
        CONFIRM_DEL: 'Confirm delete?',
        INVALID_DATE_FORMAT: 'Invalid date format. The correct format is YYYY-MM-DD.',
        CONFIRM_DEL_VD_RECORD: 'Confirm delete record, together with its chapter marking?',
        SEL_TVBCOM_CAT: 'Select TVB.COM Category',
        FOLDER_NAME_REQ: 'Folder Name Is Required!',
        FOLDER_TYPE_REQ: 'Folder Type Is Required!',
        INVALID_PROG_NO_FORMAT: 'Invalid format of programme no.!',
        OUTTIME_GT_INTIME: '"Out Time" should be greater than "In Time" in each chapter.',
        OUTTIME_INTIME_OVERLAPPED: 'Each chapter "In Time" and "Out Time" should not be overlapped.',
        OUTTIME_NOTGT_DURATION: 'Chapter "Out Time" should not be greater than the duration of Video.',
        PLS_INPUT_EPS: 'Please input episode no.',
        EPS_NOT_EXIST: 'This episode is not exist!',
        CONFIRM_REDIRECTTO_EPS: 'Do you want to save the records and start to edit the episode?',
        CONFIRM_CHANGE_VD: 'All the values not saved will be lost, do you want continue?',
        CONFIRM_ADDTO_CASTDICT: 'Do you confirm to add this name to Cast Dict?',
        MAX_N_ITEMS: 'Maximum {n} items!',
        CONFIRM_DEL_CLONED_RECORD: 'Are you sure delete the record? (The clone programme data should be affected)'
    },
    URL: {
        VIEW_CHAPTER_MARKING: 'pms_partial.html?type=chapter_marking&act=view',
        VIEW_CAST: 'pms_partial.html?type=cast&act=view',
        GET_FOLDER_ITEMS: 'services/get_folder_items.php',
        GET_LICENSES: 'services/get_licenses.php',
        GET_LOCATION: 'services/get_location.php',  
        GET_PROGRAMME: 'services/get_programme.php',
        GET_PROGRAMME2: 'services/get_programme2.php',
        GET_EPISODE: 'services/get_episode.php',
        GET_TVBCOM_CAT: 'services/get_list.php?type=tvb.com_cat',
        GET_TVBCOM_AUTO_SUBCAT: 'services/get_list.php?type=tvbcom_auto',
        GET_PROGRAMME_SUBCAT: 'services/get_list.php?type=subCategory',
        GET_CUISINE_SUBCAT: 'services/dictionary.php?type=cuisine_sub_category',
        GET_TASK_LIST: 'services/get_jqgrid_task.php',
        GET_MIS_LIST: 'services/get_mis_list.php',
        GET_AUTOPUBLISH_LIST: 'services/get_autopublish_list.php',
		GET_NAME_LIST: 'services/get_name_list.php',
        GET_PROGRAMME_LIST: 'services/get_jqgrid_list.php',
        GET_EPISODE_LIST: 'services/get_jqgrid_list.php',
        GET_CAST_LIST: 'services/get_jqgrid_list.php',
        GET_IMAGE_LIST: 'services/get_jqgrid_list.php',
        GET_VIDEO_LIST: 'services/get_jqgrid_list.php',
        GET_INFO_LIST: 'services/get_jqgrid_list.php',
        GET_CPL_INFO: 'services/get_cpl_info.php',
        GET_VIDEOS: 'services/get_videos.php',
        GET_FOLDERS: 'services/get_folders.php',
        UPDATE_FOLDER: 'services/update_folder.php'
    }
};
</script>
